import { combineReducers } from 'redux';
import productsReducer from './products-reducer';
import todoReducer from './todo-reducer';


const allReducers = {
  todos: todoReducer,
  products: productsReducer,
}

const rootReducer = combineReducers(allReducers);

export default rootReducer;